Skip to main content

RemoveTags

Description

call RemoveTags unbind the label under the specified load balancing instance.

Request Method

POST

Request Path

/apsara/route/Slb/RemoveTags

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
regionIdBODYstringYesNo sample value for this parameter.region id
LoadBalancerIdBODYstringYeslb-bp1b6c719dfa08ex****load balancing instance ID.
RegionIdBODYstringYescn-qingdao-env17-d01the region ID of the load balancing instance.
versionBODYstringNo2016-01-01version of api
TagsBODYstringYes[{"TagKey":"Key1","TagValue":"Value1"},{"TagKey":"Key2","TagValue":"Value2"}]Tag list to be unbound.

Return data

NameTypeSample valueDescription
RequestIdstring365F4154-92F6-4AE4-92F8-7FF34B540710request ID.

Example

Successful Response example

{
"RequestId":"365F4154-92F6-4AE4-92F8-7FF34B540710"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}

title: RemoveVServerGroupBackendServers

RemoveVServerGroupBackendServers

Description

call RemoveVServerGroupBackendServers to remove the backend server from the specified backend server group.

Request Method

POST

Request Path

/apsara/route/Slb/RemoveVServerGroupBackendServers

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
VServerGroupIdBODYstringYesrsp-cige6****backend server group ID.
regionIdBODYstringYesNo sample value for this parameter.region id
RegionIdBODYstringYescn-qingdao-env17-d01the region ID of the load balancing instance.
BackendServersBODYstringYes[{ "ServerId": "eni-xxxxxxxxx", "Weight": "100", "Type": "eni", "ServerIp": "192.XX.XX. 6", "Port":"80","Description":"test-112" },{ "ServerId": "eni-xxxxxxxxx", "Weight": "100", "Type": "eni", "ServerIp": "172.XX.XX. 6", "Port":"80","Description":"test-113" }]backend server group list. Each server group can contain up to 20 back-end servers in a single call. Value: is a Json string, and its structure is a JsonList. In a request, the list supports up to 20 elements. ServerId:String type, required, instance ID of the backend server, ECS instance ID or ENI instance ID. Port:Integer type, required, port used by backend server, value range:1~65535. Weight:Integer type, required, weight of backend server, value range:0~100. Description :String type, optional, backend server description, 1-80 characters in length, allow letters, numbers, dashes (-), forward slashes (/), English periods (.), and underscores (_). Chinese is supported. Type:String type, indicating the instance type of the backend server, value: ecs:ECS instance (default). eni: ENI instance. ServerIp: instance IP of ECS or ENI.
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
VServerGroupIdstringrsp-cige6j****server group ID.
ServerIdstringvm-230ECS instance ID or ENI instance ID.
RequestIdstring9DEC9C28-AB05-4DDF-9A78-6B08EC9CE18Crequest ID.
BackendServerNo sample value for this parameter.No description for this parameter.
Portinteger80the port used by the backend server.
BackendServersarray of backendserverNo sample value for this parameter.backend server list.
Weightinteger100the weight of the back-end server.

Example

Successful Response example

{
"VServerGroupId":"rsp-cige6j****",
"ServerId":"vm-230",
"RequestId":"9DEC9C28-AB05-4DDF-9A78-6B08EC9CE18C",
"BackendServer":"",
"Port":"80",
"BackendServers":"",
"Weight":"100"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}